.home{
  width: 86%;
  margin-left: 7%;
}
.nav{
  width: 100%;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
}
.styles{
  display: inline-block;
  width: 60px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  background-color: rgb(128, 225, 255);
  border-radius: 8px;
}
.first-screen{
  width: 100%;
  display: flex;
}
.swiper{
  display: inline-block;  
}
.hotVideo{
  display: inline-block;
  margin-left: 1.5%;
  width: 65%;
  height: 242px;
  display: flex;
  align-content: space-between;
  justify-content: space-between;
  flex-flow: wrap;
}
.styleArea{
  position: relative;
  width: 100%;
  height: 460px;
}
.title-icon{
  width: 30px;
  height: 30px;
}
.title{
  display: flex;
  margin:15px;
  font-size: 23px;
  align-items: center;
}
.style-preview{
  width: 80%;
  display: flex;
  justify-content: space-around;
  flex-flow: wrap;
}
.rank-list{
  position: absolute;
  right: 0;
  top: 0;
  width: 20%;
  height: 370px;
}
.rank-title{
  font-size: 23px;
  margin-bottom: 17px;
}
.rank-box{
  height: 40px;
}
.rank-num{
  display: inline-block;
  padding:  2px 2px 0 0;
  height: 19px;
  width: 19px;
  text-align: center;
  border-radius: 20%;
  color: white;
}
.rank-box:nth-child(2) .rank-num{
  background-color: rgb(0, 235, 235);
}
.rank-box:nth-child(3) .rank-num{
  background-color: rgb(62, 216, 216);
}
.rank-box:nth-child(4) .rank-num{
  background-color: rgb(128, 201, 201);
}
.rank-box:nth-child(n+5) .rank-num{
  background-color: rgb(172, 172, 172);
}
.rank-content{
  width: 100%;
  display: -webkit-box;
  white-space: nowrap;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
}
.pre-title{
  margin-top: 6px;
  margin-bottom: 6px;
  width: 100%;
  height: 40px;
  line-height: 20px;
  font-size: 14px;
  display: -webkit-box;
  flex-wrap: wrap;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color 0.2s;
}
.pre-title:hover{
  color: rgb(76, 189, 255);
}
.pre-author,.pre-author i{
  color: rgb(95, 95, 95);
  font-size: 12px;
  margin-bottom: 10px;
}